package com.xhs.dao;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.xhs.entity.UserDatil;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;
import org.springframework.stereotype.Component;

@Component
public interface UserDatilDao extends BaseMapper<UserDatil> {

    @Update("updata t_userdetail set headurl=#{url} where uid=#{uid}")
    int updataHeadUrl(@Param("url") String url,@Param("uid") int uid);
}
